﻿// Decompiled with JetBrains decompiler
// Type: DnProcessSimulateCommands.ToolPositioning.CUiTPJumpToolToFastenerCmd
// Assembly: DnProcessSimulateCommands, Version=2402.0.0.890, Culture=neutral, PublicKeyToken=null
// MVID: A885D881-AEDF-447E-852A-6F13102E089C
// Assembly location: C:\Program Files\Tecnomatix_2402\eMPower\DotNetCommands\DnProcessSimulateCommands.dll

using System.Windows;
using Tecnomatix.Engineering;
using Tecnomatix.Engineering.Ui;


namespace DnProcessSimulateCommands.ToolPositioning;

public class CUiTPJumpToolToFastenerCmd : TxButtonCommand
{
  private CApTPJumpToolEnabler m_enabler;

  public CUiTPJumpToolToFastenerCmd() => this.m_enabler = new CApTPJumpToolEnabler();

  public virtual string Category => StringTable.CMD_CATEGORY;

  public virtual string Name => StringTable.CMD_NAME;

  public virtual string Description => StringTable.CMD_DESCRIPTION;

  public virtual ITxImage Image => (ITxImage) TxImageManager.GetImageByKey("SmartToolPosition");

  public virtual bool Licensed => TxCommandLicenser.SmartToolPositionLicense;

  public virtual ITxCommandEnabler CommandEnabler => (ITxCommandEnabler) this.m_enabler;

  public virtual void Execute(object cmdParams) => ((Window) new CUiTPJumpToolWindow()).Show();
}
